/* reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
ol,ul{list-style:none;margin:0px;padding:0px;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
/* start editing from here */
a{text-decoration:none;}
.txt-rt{text-align:right;}/* text align right */
.txt-lt{text-align:left;}/* text align left */
.txt-center{text-align:center;}/* text align center */
.float-rt{float:right;}/* float right */
.float-lt{float:left;}/* float left */
.clear{clear:both;}/* clear float */
.pos-relative{position:relative;}/* Position Relative */
.pos-absolute{position:absolute;}/* Position Absolute */
.vertical-base{	vertical-align:baseline;}/* vertical align baseline */
.vertical-top{	vertical-align:top;}/* vertical align top */
nav.vertical ul li{	display:block;}/* vertical menu */
nav.horizontal ul li{	display: inline-block;}/* horizontal menu */
img{max-width:100%;}
/*end reset*/
/****-----start-body----****/
body{
text-align: center;
background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),url("../images/login.jpg") 0px 0px no-repeat;
background-size:cover;
background-attachment: fixed;
min-height: 100vh;
font-family: 'Open Sans', sans-serif;
}

/* 登录页面容器 */
.login-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

/* 头部样式 */
.header {
text-align: center;
padding-bottom: 2rem;
}

.header h1 {
    font-size: 2.2rem;
    color: #fff;
    font-family: 'Cormorant SC', serif;
    letter-spacing: 2px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

/* 主要内容区域 */
.design-w3l{
width: 100%;
max-width: 420px;
margin: 0 auto;
}

/* 表单容器 */
.mail-form-agile {
    padding: 2.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #fff;
}

/* 表单样式 */
.login-form {
    width: 100%;
}

.form-actions {
    margin-top: 1.5rem;
}

/* 按钮组 */
.button-group {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.login-btn, .register-btn {
    flex: 1;
    min-width: 120px;
}

/* 输入框样式 */
.login-input {
    margin-bottom: 1rem;
}

/* 页脚样式 */
.footer{
text-align: center;
padding-top: 2rem;
letter-spacing: 1px;
}

.footer p {
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.8);
margin: 0px;
}

.footer p a {
color:#409eff;
font-weight: 600;
transition: all 0.3s;
}

.footer p a:hover {
color: #fff;
}

/*-- responsive media queries --*/
@media screen and (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .mail-form-agile {
        padding: 2rem 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .login-btn, .register-btn {
        width: 100%;
    }
}

@media screen and (max-width: 360px) {
    .login-page {
        padding: 1rem 0.5rem;
    }
    
    .mail-form-agile {
        padding: 1.5rem 1rem;
    }
}
